﻿require.config({
    baseUrl: baseUrl + "scripts/app",
    paths: {
        respond: "../../assets/plugins/respond.min",
        excanvas: "../../assets/plugins/excanvas.min",
        jquery: "../../assets/plugins/jquery-1.10.2.min",
        jqueryMigrate: "../../assets/plugins/jquery-migrate-1.2.1.min",
        bootstrap: "../../assets/plugins/bootstrap/js/bootstrap.min",
        bootstrapHoverDropdown: "../../assets/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min",
        jquerySlimscroll: "../../assets/plugins/jquery-slimscroll/jquery.slimscroll.min",
        jqueryBlockUi: "../../assets/plugins/jquery.blockui.min",
        jqueryCokie: "../../assets/plugins/jquery.cokie.min",
        jqueryUniform: "../../assets/plugins/uniform/jquery.uniform.min",

        spinner: "../../assets/plugins/fuelux/js/spinner.min",
        ckeditor: "../../assets/plugins/ckeditor/ckeditor",
        bootstrapFileupload: "../../assets/plugins/bootstrap-fileupload/bootstrap-fileupload",
        select2: "../lib/select2-4.0.3.min",
        wysihtml5: "../../assets/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0",
        bootstrapWysihtml5: "../../assets/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5",

        bootstrapDatepicker: "../../assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker",
        bootstrapDatetimepicker: "../../assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker",
        clockface: "../../assets/plugins/clockface/js/clockface",
        moment: "../../assets/plugins/bootstrap-daterangepicker/moment.min",
        daterangepicker: "../../assets/plugins/bootstrap-daterangepicker/daterangepicker",
        colorpicker: "../../assets/plugins/bootstrap-colorpicker/js/bootstrap-colorpicker",
        timepicker: "../../assets/plugins/bootstrap-timepicker/js/bootstrap-timepicker",
        inputmask: "../../assets/plugins/jquery-inputmask/jquery.inputmask.bundle.min",
        jqueryIpAddress: "../../assets/plugins/jquery.input-ip-address-control-1.0.min",
        jqueryMultiSelect: "../../assets/plugins/jquery-multi-select/js/jquery.multi-select",
        jqueryQuickSearch: "../../assets/plugins/jquery-multi-select/js/jquery.quicksearch",
        jqueryPwstrength: "../../assets/plugins/jquery.pwstrength.bootstrap/src/pwstrength",
        bootstrapSwitch: "../../assets/plugins/bootstrap-switch/static/js/bootstrap-switch.min",
        jqueryTagsinput: "../../assets/plugins/jquery-tags-input/jquery.tagsinput.min",
        bootstrapMarkdown: "../../assets/plugins/bootstrap-markdown/js/bootstrap-markdown",
        markdown: "../../assets/plugins/bootstrap-markdown/lib/markdown",
        bootstrapMaxlength: "../../assets/plugins/bootstrap-maxlength/bootstrap-maxlength.min",
        bootstrapTouchspin: "../../assets/plugins/bootstrap-touchspin/bootstrap.touchspin",


        jqueryValidate: "../../assets/plugins/jquery-validation/dist/jquery.validate.min",
        additionalMethods: "../../assets/plugins/jquery-validation/dist/additional-methods.min",
        jqueryDataTables: "../../assets/plugins/data-tables/jquery.dataTables.min",
        DtBootstrap: "../../assets/plugins/data-tables/DT_bootstrap",

        app: "../../assets/scripts/app",
        formComponents: "../../assets/scripts/form-components",
        msgBox: "../../assets/otherjs/msgBox",



        //我自己的js
        applist: "../../assets/zrjs/app/list",
        appedit: "../../assets/zrjs/app/edit",
    },
    shim: {
        jqueryMigrate: ["jquery"],
        jquerySlimscroll: ["jquery"],
        jqueryBlockUi: ["jquery"],
        jqueryCokie: ["jquery"],
        jqueryUniform: ["jquery"],
        jqueryIpAddress: ["jquery"],
        jqueryMultiSelect: ["jquery"],
        jqueryQuickSearch: ["jquery"],
        jqueryPwstrength: ["jquery"],
        jqueryTagsinput: ["jquery"],
        jqueryValidate: ["jquery"],
        jqueryDataTables: ["jquery"],
        DtBootstrap: ["jquery", "jqueryDataTables"],
        bootstrap: ["jquery"],
        bootstrapHoverDropdown: ["jquery"],
        app: ["jquery", "jquerySlimscroll"],
        bootstrapTouchspin: ["jquery"],
        bootstrapMaxlength: ["jquery"],
        spinner: ["jquery"],
        bootstrapDatetimepicker: ["jquery"],
        inputmask: ["jquery"],
        formComponents: ["jquery", "bootstrapTouchspin", "bootstrapMaxlength", "spinner",
            "bootstrapDatetimepicker", "select2", "inputmask", "jqueryIpAddress", "jqueryMultiSelect", "app"],

        //jqueryValidateUnobtrusive: ["jquery", "jqueryValidate"]
    }
});